package com.springboot.yu.projectinit.dao;

import com.springboot.yu.projectinit.bean.userinfo.UserInfoBean;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
@Mapper
public interface IUserinfoDao {
    /*登录*/
    List<UserInfoBean> doLogin(String userName, String userPsw);
    /*查询*/
    List<UserInfoBean> selectUser(UserInfoBean userInfoBean);
    /*修改*/
    int updateByPrimaryKeySelective(UserInfoBean userInfoBean);
    /*插入*/
    int insertSelective(UserInfoBean userInfoBean);

    int deleteUserInfoById(Integer userId);

    UserInfoBean selectByPrimaryKey(Integer userId);
}
